package com.xoa.dao.email.emailSet;

import com.xoa.model.department.Department;
import com.xoa.model.email.emailSet.EmailSet;
import com.xoa.model.email.emailSet.EmailSetExample;
import java.util.List;

import com.xoa.model.users.UserExt;
import org.apache.ibatis.annotations.Param;

public interface EmailSetMapper {



    List<EmailSet> selectEmailSet();

    EmailSet selUserByDeptId(Integer id);

    List<Integer> selDeptId();

    int delUserByDeptId(EmailSet emailSet);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    int countByExample(EmailSetExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    int deleteByExample(EmailSetExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Integer essId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    int insert(EmailSet record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    int insertSelective(EmailSet record);



    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    List<EmailSet> selectByExample(EmailSetExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    EmailSet selectByPrimaryKey(Integer essId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") EmailSet record, @Param("example") EmailSetExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") EmailSet record, @Param("example") EmailSetExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(EmailSet record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table email_set
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(EmailSet record);
}